#pragma once
#include <string>
#include <iostream>
using namespace std;
class Course
{
public:
	Course(void);
	Course(string, int = 2013);

	~Course(void);

	int getYear(){ return year;};
	string getName(){ return name;};

	void setYear(int y){ year = y;};
	void setName(string s){ name = s;};
	
	virtual void print();
private:
	int year;
	string name;

};

